home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- repeat while the stillDown = 1
- set the locH of sprite 20 to the mouseH
- set the locV of sprite 20 to the mouseV
- if rollOver(12) and (the castNum of sprite 2 = the number of member "createbeg") then
- set the castNum of sprite 12 to the number of member "1nxt03"
- else
- if rollOver(12) and (the castNum of sprite 2 = the number of member "create2") then
- set the castNum of sprite 12 to the number of member "2nxt03"
- else
- if rollOver(12) and (the castNum of sprite 2 = the number of member "create3") then
- set the castNum of sprite 12 to the number of member "3nxt03"
- else
- if rollOver(12) and (the castNum of sprite 2 = the number of member "createend") then
- set the castNum of sprite 12 to the number of member "4nxt03"
- else
- if rollOver(12) = 0 then
- set the castNum of sprite 12 to the number of member "capturenextbox"
- end if
- end if
- end if
- end if
- end if
- updateStage()
- end repeat
- end
-
- on mouseUp
- if rollOver(12) and (the castNum of sprite 2 <> the number of member "createend") then
- puppetSprite(4, 0)
- puppetSprite(5, 0)
- puppetSprite(6, 0)
- puppetSprite(7, 0)
- puppetSprite(8, 0)
- puppetSprite(9, 0)
- puppetSprite(11, 0)
- puppetSprite(12, 0)
- puppetSprite(20, 0)
- set the castNum of sprite 12 to the number of member "capturenextbox"
- updateStage()
- puppetSound("sfx08")
- updateStage()
- go(the frame + 1)
- else
- if rollOver(12) and (the castNum of sprite 2 = the number of member "createend") then
- puppetSprite(4, 0)
- puppetSprite(5, 0)
- puppetSprite(6, 0)
- puppetSprite(7, 0)
- puppetSprite(8, 0)
- puppetSprite(9, 0)
- puppetSprite(11, 0)
- puppetSprite(12, 0)
- puppetSprite(20, 0)
- puppetSound("sfx02")
- updateStage()
- go("createend")
- set the castNum of sprite 12 to the number of member "capturenextbox"
- updateStage()
- end if
- end if
- end
-